#!/bin/bash

APP=$1

if [ -z "$APP" ]; then
    uv run manage.py makemigrations
    uv run manage.py migrate
else
    uv run manage.py makemigrations "$APP"
    uv run manage.py migrate "$APP"
fi